package com.weilan.blog.admin.service;

import com.weilan.blog.admin.entity.SysConfig;
import com.weilan.blog.admin.vo.SysConfigVO;
import com.weilan.blog.base.service.SuperService;

import java.util.List;

/**
 * @description:
 * @author: 孙 峰
 * @time: 2020/9/23 23:04
 */
public interface SysConfigService extends SuperService<SysConfig> {
    /**
     * 获取系统配置
     *
     * @return
     */
    public SysConfig getConfig();

    /**
     * 通过Key前缀清空Redis缓存
     *
     * @return
     */
    public String cleanRedisByKey(List<String> key);

    /**
     * 修改系统配置
     *
     * @return
     */
    public String editSystemConfig(SysConfigVO sysConfigVO);
}
